<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
 <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="css/style.css"/>       
        <link href="assets/css/codemirror.css" rel="stylesheet">
        <link rel="stylesheet" href="assets/css/ace.min.css" />
        <link rel="stylesheet" href="font/css/font-awesome.min.css" />
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css"/>
<link rel="stylesheet" href="assets/css/ace.min.css" />
<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
<link rel="stylesheet" href="Widget/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
<link href="Widget/icheck/icheck.css" rel="stylesheet" type="text/css" />
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		<script src="js/jquery-1.9.1.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
		<script src="assets/js/typeahead-bs2.min.js"></script>           	
		<script src="assets/js/jquery.dataTables.min.js"></script>
		<script src="assets/js/jquery.dataTables.bootstrap.js"></script>
        <script src="assets/layer/layer.js" type="text/javascript" ></script>          
        <script src="assets/laydate/laydate.js" type="text/javascript"></script>
        <script src="js/displayPart.js" type="text/javascript"></script>
		<script>
		$("#pd").click(function(){
				window.location.href="inventory_adjustment.html";
			})
		</script>

		
		<script>
				$(document).click(function(){
					//$("#bu,#bb").css("background","yellow");
					$("#bu").location.href="chu.html";
					$("#bu").location.href="ru.html";
				})				
		</script>
		<script>
    $(function () {
        $("#bu").on('click', function () {
            layer.open({
                type: 1,
                title: '添加出库单',
                maxmin: true,
                shadeClose: true, //点击遮罩关闭层
                area: ['600px', ''],
                content: $('#add_menber_style'),
                btn: ['保存', '取消'],
                yes: function (index, layero) {
                    var num = 0;
                    var str = "";
                    $(".add_menber input[type$='text']").each(function (n) {
                        if ($(this).val() == "") {

                            layer.alert(str += "" + $(this).attr("name") + "不能为空！\r\n", {
                                title: '提示框',
                                icon: 0,
                            });
                            num++;
                            return false;
                        }
                    });
                    if (num > 0) {
                        return false;
                    }
                    else {
                        layer.alert('添加成功！', {
                            title: '提示框',
                            icon: 1,
                        });
                        layer.close(index);
                    }
                }
            });
        });
    });
	</script>
	<script>
    $(function () {
        $("#bb").on('click', function () {
            layer.open({
                type: 1,
                title: '添加入库单',
                maxmin: true,
                shadeClose: true, //点击遮罩关闭层
                area: ['1200px', ''],
                content: $('#add_menber'),
                btn: ['保存', '取消'],
                yes: function (index, layero) {
                    var num = 0;
                    var str = "";
                    $(".add_menber input[type$='text']").each(function (n) {
                        if ($(this).val() == "") {

                            layer.alert(str += "" + $(this).attr("name") + "不能为空！\r\n", {
                                title: '提示框',
                                icon: 0,
                            });
                            num++;
                            return false;
                        }
                    });
                    if (num > 0) {
                        return false;
                    }
                    else {
                        layer.alert('入库成功！', {
                            title: '提示框',
                            icon: 1,
                        });
                        layer.close(index);
                    }
                }
            });
        });
    });
	</script>
	<script>
    $(function () {
        $(".property_list").on('click', function () {
            layer.open({
                type: 1,
                title: '详情',
                maxmin: true,
                shadeClose: true, //点击遮罩关闭层
                area: ['1200px', ''],
                content: $('#list_menber'),
                btn: ['返回'],
                yes: function (index, layero) {
                    var num = 0;
                    var str = "";
                    $("").each(function (n) {
                        if ($(this).val() == "") {

                            layer.alert(str += "" + $(this).attr("name") + "不能为空！\r\n", {
                                title: '提示框',
                                icon: 0,
                            });
                            num++;
                            return false;
                        }
                    });
                    if (num > 0) {
                        return false;
                    }
                    else {
                        
                        layer.close(index);
                    }
                }
            });
        });
    });
	</script>
<title>出入库单录入</title>



</head>

<body>
<div class="margin clearfix">
 <div class="Shops_Audit">
	 <div class="search_style">

		 <ul class="search_content clearfix">
			 <li><label class="l_f">出/入库单号</label>
				<input name="" type="text"  class="text_add" placeholder="请输入出/入库单号"  style=" width:180px"/>
			 </li>
			 <li><label class="l_f">批次</label>
				<input name="" type="text"  class="text_add" placeholder="请输入批次号"  style=" width:180px"/>
			 </li>
			 <li style="width:90px;"><button type="button" class="btn_search"><i class="icon-search"></i>查询</button></li>
		 </ul>
	 </div>
   <!---->
     <div class="border clearfix">
       <span class="l_f">
        <a href="javascript:ovid()" id="bu" class="btn btn-warning"><i class="icon-plus"></i>出库添加</a>
		 <a href="javascript:ovid()" id="bb" class="btn btn-warning"><i class="icon-plus"></i>入库添加</a>
       </span>
     </div>
     <!---->
	 
   <!--申请列表-->
   <div class="audit_list">
    <table class="table table-striped table-bordered table-hover" id="sample-table">
		<thead>
		 <tr>

				<!--<th width="25"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></th>-->
				<th width="80px">序号</th> 
				<th width="80px">出\入库单号</th>
				<th width="100">出入库类型</th>
				<th width="80px">批次</th> 
				<th width="70">产品名称</th> 
				<th width="70">产品型号</th> 
				<th width="70">产品数量</th>
				<th width="80px">仓库名称</th> 
				<th width="80px">出/入库时间</th> 
				<th width="100">调拨相关单号</th>
				<th width="100">操作</th>
			</tr>
		</thead>
	<tbody>
      <tr>
		<td>1</td>
		<td >BNJJ6387769098</td>   
		<td>采购订单入库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>2</td>
		<td >BNJJ6387769098</td>   
		<td>销售订单出库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>3</td>
		<td >BNJJ6387769098</td>   
		<td>采购订单入库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr> <tr>
		<td>4</td>
		<td >BNJJ6387769098</td>   
		<td>销售订单出库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>5</td>
		<td >BNJJ6387769098</td>   
		<td>销售订单出库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>6</td>
		<td >BNJJ6387769098</td>   
		<td>采购订单入库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>7</td>
		<td >BNJJ6387769098</td>   
		<td>销售订单出库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td></td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>8</td>
		<td >BNJJ6387769098</td>   
		<td>调拨出库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td>120142012</td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	   <tr>
		<td>9</td>
		<td >BNJJ6387769098</td>   
		<td>调拨入库</td>
		<td>12014121</td>
		<td>旭派64V电池</td>
		<td>48V20AH</td>
		<td ><font color="#FF0000">1000</font></td>
		<td>宿迁仓</td>
		<td>2016/12/12 12:34:55</td>
		<td>120142012</td>
		<td><a title="详情" class="btn btn-xs btn-info property_list" ><i class="icon-list bigger-120"></i></a> 
</td>
      </tr>
	

    </tbody>
    </table>
   
   </div>
 </div>
</div>

<div class="add_menber" id="add_menber_style" style="display:none;">

    <ul class=" page-content">
        <div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>出库单号：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="出库单号">
            </div>
        </div>
        <div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>出库类型：</label>

            <div class="formControls ">
                <select style="margin-left:10px;">
					<option>请选择出库类型</option>
					<option>销售订单出库</option>
					<option>调拨出库</option>
				</select>
            </div>
        </div>
		
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>批次：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="批次">
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>产品名称：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="产品名">
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>产品型号：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="产品型号">
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>出库数量：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="出库数量">
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>仓库名称：</label>

            <div class="formControls ">
                <select style="margin-left:10px;"> 
				 <option > 请选择仓库</option>
				 <option > 宿迁仓</option>
				 <option > 和田仓</option>
				</select>
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>出库时间：</label>

            <div class="formControls ">
                <input type="text" class="inline laydate-icon" value="" id="start1" name="出库时间">
            </div>
        </div>
    </ul>
</div>

<div class="add_menber" id="add_menber" style="display:none;">

    <ul class=" page-content">
        <div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>入库单号：</label>
            <div class="formControls ">
                <input type="text" class="input-text" value="12110111"  id="user-name" name="入库单号">
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>入库类型：</label>

            <div class="formControls ">
                <select style="margin-left:10px;">
					<option>请选择入库类型</option>
					<option>采购订单入库</option>
					<option>调拨入库</option>
				</select>
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>批次：</label>
            <div class="formControls ">
                <input type="text" class="input-text" value="1213241" placeholder="" id="user-name" name="批次">
            </div>
        </div>
		<div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>入库时间：</label>

            <div class="formControls ">
                <input type="text" class="inline laydate-icon" value="" id="start2" name="入库时间">
            </div>
        </div>
        <div class="Operate_cont clearfix">
            <table class="table table-striped table-bordered table-hover" id="sample-table">
		<thead>
		 <tr>
		 	<th width="70">序号</th>
			<th width="100">产品码</th>              
			<th width="100">商品名称</th>
			<th width="100">入库库名</th>   
			<th width="100">入库区域</th>
			<th width="100">入库货架</th>
			<th width="100">入库货位</th>
			<th width="100">状态</th>
			<th width="100">确认入库</th>
			</tr>
		</thead>
	<tbody>
      <tr>
	   <td>1</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr>
      <tr>
	   <td>2</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr>
	   <tr>
	   <td>3</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr><tr>
	   <td>4</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr><tr>
	   <td>5</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr><tr>
	   <td>6</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr><tr>
	   <td>7</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr><tr>
	   <td>8</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr><tr>
	   <td>9</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td><select name="select_name" style="margin-left:10px;">
            <option>请选择仓库</option>
            <option>宿迁仓</option>
            <option>和田仓</option>
            <option>长兴仓</option>
          </select></td>
       <td><select name="select_name" style="margin-left:10px;">
           <option>请选择货区</option>
              <option>成品区</option>
              <option>隔离区</option>
			  <option>收货区</option>
              <option>零货区</option>
          </select></td>      
       <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货架</option>
            <option >12134</option>
			<option >12354</option>
			<option >12543</option>
          </select></td>
	   <td><select name="select_name" style="margin-left:10px;">
            <option >请选择货位</option>
            <option >121</option>
			<option >122</option>
			<option >123</option>
          </select></td>
		<td class="td-status"><span class="label label-defaunt radius">未确认</span></td>
        <td class="td-manage"><a style="text-decoration:none" class="btn btn-xs btn-success " onClick="member_start(this,id)" href="javascript:;" title="已确认"><i class="icon-ok bigger-120"></i></a> </td>
       </tr>
    </tbody>
    </table>
        </div>
    </ul>
</div>
<div class="add_menber" id="list_menber" style="display:none;">

    <ul class=" page-content">
        <div class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span>入库单号：</label>

            <div class="formControls ">12110111
            </div>
        </div>
        <div class="Operate_cont clearfix">
            <table class="table table-striped table-bordered table-hover" id="sample-table">
		<thead>
		 <tr>
		 	<th width="70">序号</th>
			<th width="100">产品码</th>              
			<th width="100">商品名称</th>
			<th width="100">入库库名</th>   
			<th width="100">入库区域</th>
			<th width="100">入库货架</th>
			<th width="100">入库货位</th>
			<th width="100">入库时间</th>
			</tr>
		</thead>
	<tbody>
      <tr>
	   <td>1</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td>宿迁仓</td>
       <td>成品区</td>      
       <td>12134</td>
	   <td>121</td>
	   <td>2016-06-21</td>
       </tr>
      <tr>
	   <td>2</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td>宿迁仓</td>
       <td>成品区</td>      
       <td>12134</td>
	   <td>121</td>
	   <td>2016-06-21</td>
       </tr>
	   <tr>
	   <td>3</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td>宿迁仓</td>
       <td>成品区</td>      
       <td>12134</td>
	   <td>121</td>
	   <td>2016-06-21</td>
       </tr>
	   <tr>
	   <td>4</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td>宿迁仓</td>
       <td>成品区</td>      
       <td>12134</td>
	   <td>121</td>
	   <td>2016-06-21</td>
       </tr>
	   <tr>
	   <td>5</td>
	   <td>1210121</td>
       <td>旭派12V电池</td>
       <td>宿迁仓</td>
       <td>成品区</td>      
       <td>12134</td>
	   <td>121</td>
	   <td>2016-06-21</td>
       </tr>
    </tbody>
    </table>
        </div>
    </ul>
</div>
</body>
</html>
<script>
	$(function(){
		laydate({
			elem: '#start1',
			event: 'focus' 
		});	
		laydate({
			elem: '#start2',
			event: 'focus' 
		});	
	})
</script>
<script>
$(function () {  
        $(".displayPart").displayPart();  
   });
$(function() {
		var oTable1 = $('#sample-table').dataTable( {
		//"aaSorting": [],//默认第几个排序
		"bStateSave": true,//状态保存
		//"dom": 't',
		"bFilter":false,
		"aoColumnDefs": [
		  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
		  {"orderable":false,"aTargets":[1,2,3,4,5,6,7,8,9,10]}// 制定列不参与排序
		] } );
				$('table th input:checkbox').on('click' , function(){
					var that = this;
					$(this).closest('table').find('tr > td:first-child input:checkbox')
					.each(function(){
						this.checked = that.checked;
						$(this).closest('tr').toggleClass('selected');
					});
						
				});
})
/*商品-确认*/
function member_start(obj,id){
	layer.confirm('确认要入库吗？',function(index){
		$(obj).parents("tr").find(".td-manage").prepend('');
		$(obj).parents("tr").find(".td-status").html('<span class="label label-success radius">已确认</span>');
		$(obj).remove();
		layer.msg('确认入库!',{icon: 6,time:1000});
	});
}
//面包屑返回值
var index = parent.layer.getFrameIndex(window.name);
parent.layer.iframeAuto(index);
$('.Refund_detailed').on('click', function(){
	var cname = $(this).attr("title");
	var chref = $(this).attr("href");
	var cnames = parent.$('.Current_page').html();
	var herf = parent.$("#iframe").attr("src");
    parent.$('#parentIframe').html(cname);
    parent.$('#iframe').attr("src",chref).ready();;
	parent.$('#parentIframe').css("display","inline-block");
	parent.$('.Current_page').attr({"name":herf,"href":"javascript:void(0)"}).css({"color":"#4c8fbd","cursor":"pointer"});
	//parent.$('.Current_page').html("<a href='javascript:void(0)' name="+herf+" class='iframeurl'>" + cnames + "</a>");
    parent.layer.close(index);
	
});
</script>
